package realarm.hardwaretest.jniinterface;

import java.io.FileDescriptor;

/**
 * Date    04/12/2018
 * Author  WestWang
 * 串口
 */
public class SerialPortControal {

    public static native FileDescriptor SerialOpen(String path, int baudrate, int flags);

    public static native void SerialClose();

    static {
        System.loadLibrary("Serial");
    }
}